package com.hnichr.ump.common.onetime.sortseat.entity;

import com.hnichr.ump.common.entity.UmpEntity;
import com.mxpioframework.jpa.annotation.Generator;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_onetime_seat_man")
@Schema(description = "排座次的人")
public class SeatMan extends UmpEntity {
    @Id
    @Generator
    @Column(name = "ID_", updatable = false)
    @Schema(description = "ID")
    private String id;

    @Column(name = "NAME_")
    @Schema(description = "姓名")
    private String name ;

}
